import Vue from "vue"
import Vuex from 'vuex'
import home from "./modules/home"
import user from "./modules/user"
import search from "./modules/search"
import detail from "./modules/detail"
import shopcart from "./modules/shopcart"
import trade from "./modules/trade"
Vue.use(Vuex)
const state = {
    e:11
}
const mutations = {

}
const actions = {

}
const getters = {

}
const modules = {
    home,
    user,
    search,
    detail,
    shopcart,
    trade
}
export default new Vuex.Store({
    state,
    mutations,
    actions,
    getters,
    modules
})